Skip to main content

Home/ Plone distributed documentation/ Group items tagged Python (programming language)

Rss Feed Group items tagged

Graham Perrin

Of babies and bathwater (or: Why I love the Zope Component Architecture) - Martin Aspeli - 0 views

  • Of babies and bathwater (or: Why I love the Zope Component Architecture)
  • Martin Aspeli
  • Dec 01, 2009
  • ...17 more annotations...
  • In defence of one of the great Python frameworks of the past decade
  • ZCA rocks. It's an incredibly advanced and powerful way to build software
  • ZCA adds complexity. It demands that you swallow its core concepts up front (interfaces, adapters, utilities, events) and get to know them pretty well
  • people can do crazy things, usually doing as much harm as good
  • elegant frameworks like BFG or Pylons
  • That doesn't mean the ZCA is right for all situations
  • learning to use the ZCA effectively is a bit like learning a new programming language on top of Python. You need to "get" those concepts
  • For the ZCA itself, there is clearly an opportunity right now to evolve
  • My personal wish-list
  • advice for projects, such as Plone, that use the ZCA for extensibility and inversion-of-control
  • Don't let the ZCA be the first API that people see
  • don't assume everyone has yet reached ZCA mastery
  • ZCA as a building block
  • BFG does this very well
    • Graham Perrin
  • We're trying to do something similar with Dexterity and the ecosystem of tools around it
  • The same will hopefully be true for other technologies as we move towards Plone 5
  • improved integrator learning curve
Graham Perrin

Python debugger (pdb) - Plone Developer Manual v0.1 documentation - 0 views

  • Python debugger
  • (pdb)
  • interactive command-line debugger
  • ...3 more annotations...
  • Useful pdb commands
  • s = step into, go into the function in the cursor n = step over, execute the function under the cursor without stepping into it c = continue, resume program bt = print stack trace up = go to the scope of the caller function
  • Useful pdb snippets
Graham Perrin

Python Package Index : collective.pdfpeek - 0 views

  • collective.pdfpeek
  • generates image thumbnail previews
  • preview and thumbnail images of each page of uploaded PDF
  • ...2 more annotations...
  • annotated onto the content object containing the pdf
  • generation currently takes place on object modified events
  •  
    plone.org page for this product: http://plone.org/products/collective.pdfpeek/
1 - 4 of 4
Showing 20 items per page